﻿/*-------------------------------------------------------------------------
* CLR版本:     4.0.30319.42000
* 创建人:      song 
* 创建时间：   2024/7/19 14:37:44
* 功 能：      Render 的消息队列
*-------------------------------------------------------------------------*/

using System;
namespace BattleCore.render
{

    public abstract class render_msg
    {
        public int _uId;
        private Type _type;
        public RenderState _state;
        public render_msg()
        {
            _type = GetType();
        }
    }
    public class audio_msg : render_msg
    {
        public string _audioKey;
        public AudioType _audioType;
    }
    public class effect_msg : render_msg
    {
        public int _effectId;
        public string _prefab;
    }
    public class animator_msg : render_msg
    {
        public int _layer;
        public string _animName;  
    }

    public class spine_msg : render_msg
    {
        public AnimLayer _layer;
        public string _animName;
        public bool _loop;
    }

    public class limit_msg : render_msg
    {
        public int _limit;
    }
}